import 'package:hotpot/generated/json/base/json_field.dart';
import 'package:hotpot/generated/json/stock_picking.g.dart';
import 'dart:convert';

@JsonSerializable()
class StockPicking {

	int? id;
	// @JSONField(name: "activity_ids")
	// List<dynamic>? activityIds;
	// @JSONField(name: "activity_state")
	// bool? activityState;
	// @JSONField(name: "activity_user_id")
	// bool? activityUserId;
	// @JSONField(name: "activity_type_id")
	// bool? activityTypeId;
	// @JSONField(name: "activity_type_icon")
	// bool? activityTypeIcon;
	// @JSONField(name: "activity_date_deadline")
	// bool? activityDateDeadline;
	// @JSONField(name: "my_activity_date_deadline")
	// bool? myActivityDateDeadline;
	// @JSONField(name: "activity_summary")
	// bool? activitySummary;
	// @JSONField(name: "activity_exception_decoration")
	// bool? activityExceptionDecoration;
	// @JSONField(name: "activity_exception_icon")
	// bool? activityExceptionIcon;
	// @JSONField(name: "message_is_follower")
	// bool? messageIsFollower;
	// @JSONField(name: "message_follower_ids")
	// List<int>? messageFollowerIds;
	// @JSONField(name: "message_partner_ids")
	// List<int>? messagePartnerIds;
	// @JSONField(name: "message_ids")
	// List<int>? messageIds;
	// @JSONField(name: "has_message")
	// bool? hasMessage;
	// @JSONField(name: "message_needaction")
	// bool? messageNeedaction;
	// @JSONField(name: "message_needaction_counter")
	// int? messageNeedactionCounter;
	// @JSONField(name: "message_has_error")
	// bool? messageHasError;
	// @JSONField(name: "message_has_error_counter")
	// int? messageHasErrorCounter;
	// @JSONField(name: "message_attachment_count")
	// int? messageAttachmentCount;
	// @JSONField(name: "message_main_attachment_id")
	// bool? messageMainAttachmentId;
	// @JSONField(name: "website_message_ids")
	// List<dynamic>? websiteMessageIds;
	// @JSONField(name: "message_has_sms_error")
	// bool? messageHasSmsError;
	String? name;
	// String? origin;
	// bool? note;
	// @JSONField(name: "backorder_id")
	// bool? backorderId;
	// @JSONField(name: "backorder_ids")
	// List<dynamic>? backorderIds;
	// @JSONField(name: "move_type")
	// String? moveType;
	String? state;
	// @JSONField(name: "group_id")
	// List<int>? groupId;
	// String? priority;
	// @JSONField(name: "scheduled_date")
	// String? scheduledDate;
	// @JSONField(name: "date_deadline")
	// String? dateDeadline;
	// @JSONField(name: "has_deadline_issue")
	// bool? hasDeadlineIssue;
	// String? date;
	// @JSONField(name: "date_done")
	// bool? dateDone;
	// @JSONField(name: "delay_alert_date")
	// bool? delayAlertDate;
	// @JSONField(name: "json_popover")
	// bool? jsonPopover;
	// @JSONField(name: "location_id")
	// List<int>? locationId;
	// @JSONField(name: "location_dest_id")
	// List<int>? locationDestId;
	// @JSONField(name: "move_ids")
	// List<int>? moveIds;
	// @JSONField(name: "move_ids_without_package")
	// List<int>? moveIdsWithoutPackage;
	// @JSONField(name: "has_scrap_move")
	// bool? hasScrapMove;
	// @JSONField(name: "picking_type_id")
	// List<int>? pickingTypeId;
	// @JSONField(name: "picking_type_code")
	// String? pickingTypeCode;
	// @JSONField(name: "picking_type_entire_packs")
	// bool? pickingTypeEntirePacks;
	// @JSONField(name: "use_create_lots")
	// bool? useCreateLots;
	// @JSONField(name: "use_existing_lots")
	// bool? useExistingLots;
	// @JSONField(name: "hide_picking_type")
	// bool? hidePickingType;
	// @JSONField(name: "partner_id")
	// List<int>? partnerId;
	// @JSONField(name: "company_id")
	// List<int>? companyId;
	// @JSONField(name: "user_id")
	// bool? userId;
	// @JSONField(name: "move_line_ids")
	// List<dynamic>? moveLineIds;
	// @JSONField(name: "move_line_ids_without_package")
	// List<dynamic>? moveLineIdsWithoutPackage;
	// @JSONField(name: "move_line_nosuggest_ids")
	// List<dynamic>? moveLineNosuggestIds;
	// @JSONField(name: "move_line_exist")
	// bool? moveLineExist;
	// @JSONField(name: "has_packages")
	// bool? hasPackages;
	// @JSONField(name: "show_check_availability")
	// bool? showCheckAvailability;
	// @JSONField(name: "show_mark_as_todo")
	// bool? showMarkAsTodo;
	// @JSONField(name: "show_validate")
	// bool? showValidate;
	// @JSONField(name: "show_allocation")
	// bool? showAllocation;
	// @JSONField(name: "owner_id")
	// bool? ownerId;
	// bool? printed;
	// bool? signature;
	// @JSONField(name: "is_signed")
	// bool? isSigned;
	// @JSONField(name: "is_locked")
	// bool? isLocked;
	// @JSONField(name: "product_id")
	// List<int>? productId;
	// @JSONField(name: "show_operations")
	// bool? showOperations;
	// @JSONField(name: "show_reserved")
	// bool? showReserved;
	// @JSONField(name: "show_lots_text")
	// bool? showLotsText;
	// @JSONField(name: "has_tracking")
	// bool? hasTracking;
	// @JSONField(name: "immediate_transfer")
	// bool? immediateTransfer;
	// @JSONField(name: "package_level_ids")
	// List<dynamic>? packageLevelIds;
	// @JSONField(name: "package_level_ids_details")
	// List<dynamic>? packageLevelIdsDetails;
	// @JSONField(name: "products_availability")
	// bool? productsAvailability;
	// @JSONField(name: "products_availability_state")
	// bool? productsAvailabilityState;
	// @JSONField(name: "show_set_qty_button")
	// bool? showSetQtyButton;
	// @JSONField(name: "show_clear_qty_button")
	// bool? showClearQtyButton;
	// @JSONField(name: "__last_update")
	// String? sLastUpdate;
	// @JSONField(name: "display_name")
	// String? displayName;
	// @JSONField(name: "create_uid")
	// List<int>? createUid;
	@JSONField(name: "create_date")
	String? createDate;
	// @JSONField(name: "write_uid")
	// List<int>? writeUid;
	// @JSONField(name: "write_date")
	// String? writeDate;
	// @JSONField(name: "country_code")
	// String? countryCode;
	// @JSONField(name: "pos_session_id")
	// bool? posSessionId;
	// @JSONField(name: "pos_order_id")
	// bool? posOrderId;
	// @JSONField(name: "sale_id")
	// List<int>? saleId;
	// @JSONField(name: "website_id")
	// bool? websiteId;
	// @JSONField(name: "purchase_id")
	// bool? purchaseId;
  
  StockPicking();

  factory StockPicking.fromJson(Map<String, dynamic> json) => $StockPickingFromJson(json);

  Map<String, dynamic> toJson() => $StockPickingToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}